package tw.com.softleader.cal.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tw.com.softleader.cal.dao.CalculateDao;

@Service
public class CalculateService {

	private CalculateDao dao;
	
	public void setDao(CalculateDao dao) {
		this.dao = dao;
	}

	public String getOne(Long id) {
		return dao.getOne(id);
	}
	

	public Integer add(Integer a, Integer b) {
		return a+b;
	}
	
	
}
